<?php
session_start();

use evertcode\Util as Tools;

require_once '../lib/class.util.php';

$tools = new Tools();

if ($_SESSION['userAgent'] !== md5($_SERVER['HTTP_USER_AGENT']) && $_SESSION['IPaddress'] !== $tools->ExtractUserIpAddress()) {
    header("location: ../?AccessNotAuthorized=:(");
    exit();
}
?>

<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7 lt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8 lt8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> 

<html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>Inicio</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
        <meta name="description" content="" />
        <meta name="keywords" content= "" />
        <meta name="author" content="Evert Code" />


        <link rel="stylesheet" type="text/css" media="screen" href="../script/bootstrap/css/bootstrap.css" />

    </head>

    <body>
	<div id="wrap">
        <div class="container">
			<div class="row">
				<?php include("menu.php"); ?>
				</div>
            <div class="row">
                <div class="col-md-12 text-center">
                    <p class="text-info">
                    <h1><strong>Bienvenido <?php echo $_SESSION['nombre']; ?></strong></h1>
                    </p>

                </div>
            </div>
            <div class="row">
                <div class="col-lg-4"></div>
                <div class="col-lg-8 text-center">
                 <!--   <img class="img-responsive" alt="" src="../image/logo.jpg" /> -->
                </div>
                <div class="col-lg-4"></div>
            </div>
        </div>
	</div>
